package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("load_opportunities_temp")
@ApiModel(value="LoadOpportunitiesTempEntity对象", description="")
public class LoadOpportunitiesTempEntity implements Serializable {

    public static final String LOT_ID = "LOT_ID";
    public static final String LOT_LDB_ID = "LOT_LDB_ID";
    public static final String LOT_DEL_ID = "LOT_DEL_ID";
    public static final String LOT_VIN = "LOT_VIN";
    public static final String LOT_CAMPAIGN_CODE = "LOT_CAMPAIGN_CODE";
    public static final String LOT_CPD_ACCOUNT = "LOT_CPD_ACCOUNT";
    public static final String LOT_FOLLOW_DATE = "LOT_FOLLOW_DATE";
    public static final String LOT_ERROR_MSG = "LOT_ERROR_MSG";
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(value = "LOT_ID", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "批次表ID")
    @TableField("LOT_LDB_ID")
    private Long ldbId;
    @ApiModelProperty(value = "经销商ID")
    @TableField("LOT_DEL_ID")
    private Long delId;
    @ApiModelProperty(value = "车架号")
    @TableField("LOT_VIN")
    private String vin;
    @ApiModelProperty(value = "活动编码")
    @TableField("LOT_CAMPAIGN_CODE")
    private String campaignCode;
    @ApiModelProperty(value = "实际处理人CPD系统账号姓名，非必填，若填写，该线索默认分配给这个账号专员;若不填写，线索未分配状态")
    @TableField("LOT_CPD_ACCOUNT")
    private String cpdAccount;
    @ApiModelProperty(value = "计划跟进时间，当实际处理人填写时，需要必填")
    @TableField("LOT_FOLLOW_DATE")
    private String followDate;
    @ApiModelProperty(value = "错误描述")
    @TableField("LOT_ERROR_MSG")
    private String errorMsg;

}
